<?php
/**
 * Created by PhpStorm.
 * User: koterwong
 * Date: 2017/8/29
 * Time: 18:41
 */

if (!function_exists('isPhoneNum')) {

    function isPhoneNum($phone)
    {
        return preg_match('/1[34578]{1}\d{9}$/', $phone);
    }
}